﻿<script type="text/javascript" src="Login.js?ver={$version}"></script>
<link href="Login.css?ver={$version}" rel="stylesheet" type="text/css" />
<vt:if var="domain" value="" compare="!=">
      <script type="text/javascript">
          document.domain = '{$domain}';  
    </script></vt:if>
<div id="loginArea">
<div class="loginArea-inner">
  <div id="loginBoxBack" style="z-index:1000">&nbsp; </div>
  <div id="loginBox" style="z-index:10001">
    <vt:if var="Account.Ac_id" value="0" compare=">">
      <div class="isLoginBox">
        <div class="login-show">欢迎光临！</div>
        <div class="stLoginPhoto">
          <vt:if var="Account.Ac_photo" value="" compare="="> <img src="/Utility/images/head1.jpg"/>
            <vt:else/>
            <img src="{$stpath}{$:#.Account.Ac_photo}" background="/Utility/images/head1.jpg" default="/Utility/images/head1.jpg"/> </vt:if>
        </div>
        <div class="loginRow"> <a href="/Student/panel.ashx" class="btnInManage">个人中心</a> <a href="/Student/logout.ashx" class="btnLogout">退出登录</a></div>
      </div>
      <vt:else/>
      <vt:if var="islogin" value="false" compare="="> 
        <!--登录框头部选项卡-->
        <div class="loginBar">
          <vt:if var="forpw" value="true" compare="=">
            <div class="loginTitle" tag="login" style="border-radius:0px 0px 15px 0px;width:130px;"> <a href="/Student/index.ashx"><b></b>账号登录</a> </div>
          </vt:if>
          <vt:if var="forsms" value="true" compare="=">
            <div class="loginTitle" tag="mobile" style="border-radius:0px 0px 0px 15px;width:170px;"> <a href="/Student/index.ashx?loyout=mobile"><b></b>手机验证登录</a> </div>
          </vt:if>
        </div>
        <div class="loginBody">
          <vt:if var="loyout" value="" compare="=">
            <vt:if var="forpw" value="true" compare="=">
              <div class="loginArea" tag="login">
                <form id="accLogin" name="accLogin" method="post" star="false">
                  <div class="loginRow">
                    <widget type="text" ico="&#xe600;" deftxt="账号/手机号/身份证号" name="tbAcc" class="textbox width" nullable="false"  group="login"> </widget>
                  </div>
                  <div class="loginRow">
                    <widget type="password" ico="&#xe6ed;" deftxt="密码" name="tbPw" class="textbox width" nullable="false"  group="login"> </widget>
                  </div>
                  <div class="loginRow">
                    <input name="from" type="hidden" value="{$from}" />
                    <widget type="text" ico="&#xe636;" deftxt="验证码" name="tbCode" 
                class="textbox verify" nullable="false" lenlimit="4-4" datatype="number"   group="login"> </widget>
                    <img src="/Utility/codeimg.aspx?name=accloginvcode" class="verifyCode right-btn"/> </div>
                  <div class="loginRow lbar">
                    <label>
                      <input type="checkbox" name="cbSign"/>
                      <input name="signnum" type="hidden" value="30" />
                      一月内免登录 </label>
                    &nbsp;&nbsp; <a href="/Student/PwFind.ashx">忘记密码</a> </div>
                  <div class="loginRow btnBar">
                    <input type="submit" name="btnSubmit" id="btnSubmit" value="登&nbsp;&nbsp;录"  verify="true"  group="login" class="btnLogin"/>
                    <a href="/Student/Register.ashx" class="aRegister">注&nbsp;&nbsp;册</a> </div>
                  <dl class="OAuth">
                    <vt:if var="QQLoginIsUse" value="true" compare="=">
                      <dd><a href="#" tag="qqlogin" appid="{$QQAPPID}" returl="{$QQReturl}" orgid="{$org.Org_id}"><b class="QQ-icon"></b> <span id="qqLoginBtn">QQ</span></a></dd>
                    </vt:if>
                    <vt:if var="WeixinLoginIsUse" value="true" compare="=">
                      <dd><a href="#" tag="weixinlogin" appid="{$WeixinAPPID}" returl="{$WeixinReturl}" orgid="{$org.Org_id}"><b class="weixin-icon"></b> <span>微信</span></a></dd>
                    </vt:if>
                  </dl>
                </form>
              </div>
            </vt:if>
          </vt:if>
          <vt:if var="loyout" value="mobile" compare="=">
            <vt:if var="forsms" value="true" compare="=">
              <div class="loginArea" tag="mobile">
                <form id="mobiLogin" name="mobiLogin" method="post" star="false">
                  <div class="loginRow">
                    <widget type="text" ico="&#xe600;" deftxt="手机号" group="getsms|smslogin" name="tbPhone" class="textbox width" datatype="mobile" nullable="false"> </widget>
                  </div>
                  <div class="loginRow">
                    <widget type="text" ico="&#xe636;" deftxt="验证码" name="tbCode"  group="getsms|smslogin"  
                class="textbox verify" nullable="false" lenlimit="4-4" datatype="number"> </widget>
                    <input name="from" type="hidden" value="{$from}"  path="{$frompath}"/>
                    <img src="/Utility/codeimg.aspx?name=mobivcode" class="verifyCode right-btn"/> </div>
                  <div class="loginRow">
                    <widget type="text" ico="&#xe71a; iconphone" group="smslogin" deftxt="短信验证码" name="tbSms" class="textbox verify" nullable="false"  lenlimit="6-6"> </widget>
                    <div class="right-btn" id="getSms" waiting="{num}秒后再获取">获取短信</div>
                  </div>
                  <div class="loginRow lbar">
                    <label>
                      <input type="checkbox" name="cbSign"/>
                      <input name="signnum" type="hidden" value="30" />
                      一月内免登录 </label>
                    &nbsp;&nbsp; <a href="/Student/PwFind.ashx">忘记密码</a> </div>
                  <div class="loginRow btnBar">
                    <input type="submit" name="btnSubmit" id="btnSubmit" group="smslogin"  value="登&nbsp;&nbsp;录"  verify="true"  class="btnLogin"/>
                    <a href="/Student/Register.ashx" class="aRegister">注&nbsp;&nbsp;册</a> </div>
                  <dl class="OAuth">
                    <vt:if var="QQLoginIsUse" value="true" compare="=">
                      <dd><a href="#" tag="qqlogin" appid="{$QQAPPID}" returl="{$QQReturl}" orgid="{$org.Org_id}"><b class="QQ-icon"></b> <span id="qqLoginBtn">QQ</span></a></dd>
                    </vt:if>
                    <vt:if var="WeixinLoginIsUse" value="true" compare="=">
                      <dd><a href="#" tag="weixinlogin" appid="{$WeixinAPPID}" returl="{$WeixinReturl}" orgid="{$org.Org_id}"><b class="weixin-icon"></b> <span>微信</span></a></dd>
                    </vt:if>
                  </dl>
                </form>
              </div>
            </vt:if>
          </vt:if>
        </div>
        <vt:else/>
        <div class="noLogin"> 暂停账户登录</div>
      </vt:if>
    </vt:if>
  </div>
</div>
</div>
